# -*- coding = utf-8 -*-
# @TIME:2024/9/29 10:26
# @Author:月的第一话
# @File:dome1.py
# @Software:PyCharm
str='hello world'
print(str.find('ooo'))
print(str.replace('l','l',1))
print(str.split(' '))
sep=','
print(str.join(sep))
print(sep.join(str))
print(str.capitalize())
print(str.title)
print(str.upper())
print(str.lower())
str2="*"
print(str.center(20,str2))